package com.forum.module.blog.controller.notification.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;

/**
 * 功能:
 * 作者:ouyzh
 * 日期:2025/3/4 19:33
 */
@Schema(description = "博客管理 - 站内信信息 Response VO")
public class NotificationRespVO {
    @Schema(description = "编号", example = "1")
    private Long id;
    @Schema(description = "用户编号", example = "1")
    private Long userId;
    @Schema(description = "通知类型 1评论 2点赞 3关注")
    private Integer type;
    @Schema(description = "通知内容", example = "A用户点赞了你的文章")
    private String content;

    @Schema(description = "状态 0未读 1已读")
    private Integer status;
    @Schema(description = "创建时间", example = "2024-01-02 12:00:00")
    private LocalDateTime createTime;

    @Schema(description = "更新时间", example = "2024-01-02 12:00:00")
    private LocalDateTime updateTime;

    @Schema(description = "创建人", example = "1")
    private Long creator;

    @Schema(description = "更新人", example = "1")
    private Long updater;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public Long getUpdater() {
        return updater;
    }

    public void setUpdater(Long updater) {
        this.updater = updater;
    }
}
